<?php
require_once("auth/sso.php");
$sso = new SingleSignOn_Broker();
$users = $sso->getInfo();

if (!$users) {
    header("Location:login.php", true, 307);
    exit;
}

$user_active = $users["identity"];
require_once('user_assets.php');
$features = $privilege->getFeatures($user->role_id,1);

require_once('app_common.php');
?>
<!DOCTYPE html>
<!-- saved from url=(0047)https://secure.fleetio.com/453a3e08f1/dashboard -->
<html lang="en">
   <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Autogator</title>
<!--[if lt IE 9]>
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->

        <script type="text/javascript" src="lib/jquery-1.7.1.min.js"></script>	
	
		<script type="text/javascript" src="lib/objs-2.1.1-min.js"></script>
        <!-- =============================================================================== -->
        <!-- ================================== Home Page Header =========================== -->
        <!-- =============================================================================== -->
		<script type="text/javascript" src="lib/puremvc-objs-2.0-min.js"></script>
        <!-- =============================================================================== -->
        <!-- ================================== Home Page Header =========================== -->
        <!-- =============================================================================== -->
		<script type="text/javascript" src="src/abc/MediatorNames.js"></script>
        <!-- =============================================================================== -->
        <!-- ================================== Home Page Header =========================== -->
        <!-- =============================================================================== -->
		<script type="text/javascript" src="src/abc/NotificationNames.js"></script>
        <!-- =============================================================================== -->
        <!-- ================================== Home Page Header =========================== -->
        <!-- =============================================================================== -->
		<script type="text/javascript" src="src/abc/ProxyNames.js"></script>
        <!-- =============================================================================== -->
        <!-- ================================== Home Page Header =========================== -->
        <!-- =============================================================================== -->
        <script type="text/javascript" src="src/abc/AppConstant.js"></script>
        
		<script type="text/javascript" src="src/controller/PrepModelCommand.js"></script>
		<script type="text/javascript" src="src/controller/PrepViewCommand.js"></script>
		<script type="text/javascript" src="src/controller/StartupCommand.js"></script>
		
	    <script type="text/javascript" src="src/view/components/UiComponent.js"></script>
	 	
		<script type="text/javascript" src="src/abc/NotificationNames.js"></script> 
		<script type="text/javascript" src="src/abc/ProxyNames.js"></script> 
		<script type="text/javascript" src="src/view/HomePageMediator.js"></script>
		<script type="text/javascript" src="src/view/components/HomePage.js"></script>
		
		<script type="text/javascript" src="src/model/VehicleProxy.js"></script> 
		<script type="text/javascript" src="src/view/components/LockedVehiclesPage.js"></script>
        <script type="text/javascript" src="src/view/LockedVehiclesPageMediator.js"></script> 
        
		<script type="text/javascript" src="src/ApplicationFacade.js"></script>
       
	<link href="css/application.css" media="screen" rel="stylesheet" type="text/css"><!--
Version 12.9.1
-->
<script type="text/javascript">
      				    
$().ready(function()
 {              

					
    if( document.location.hash )
		document.location.hash = "";
	var applicationFacade/*ApplicationFacade*/ = ApplicationFacade.getInstance();
        applicationFacade.startup( $("body") );

 }); 
 
		</script>
               
</head>
 <script src="js/bootstrap-twipsy.js"></script>
   <!--  <script src="js/bootstrap-datepicker.js"></script> -->
    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript"> current_page = "locked_vehicles";</script>
<body >

<div id="root">
		<div id="wrapper">
		
		<?php include_once $header_path; ?>
		   
		    <div class="container">
				<div class="block" style="margin-top:30px">
					<div class="block_head"> 
						<div class="bheadl"></div>
						<div class="bheadr"></div>
							<h3 style="margin-top:12px"> Locked Vehicles <small></small> </h3> 
					</div> 
					<div class="block_content">
						 <!-- Locked vehicles table -->
						<div>
							<table class="table table-outer-bordered" id="locked_vehicles_table" style="font-size:12px">
							  <thead>
								<tr>
								  <th>Vehicle id</th>
								  <th>Make</th>
								  <th>Model</th>
								  <th>Locked By</th>
								  <th>Locked Date</th>
								  <th></th>
								</tr>
							  </thead>
							</table>
						</div>
					</div> 
				</div>
			</div> 
		  

		</div>
		</div>


          
</body>